package com.babel.util.lide;

/**
 * 基础配置类
 * @author lyj
 * @date 2017年5月10日---下午2:18:51
 */
public class LeadbankConfig {

    // 商戶ID，由4-12位纯数字组成的字符串
    public static String partner = "8008";

    // 商戶应用ID
    public static String app_id = "8999";

    /***********test begin*********/
    // 商户的私钥(rsa_private_pkcs8.pem) test
    // public static String private_key =
    // "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBANPDsCVQngugJhEgfe/6uMGlDRUq1vXoGmz9KN9BYLGb3rrPV3UMazVyoYsO/OPozRq9h0PNedUeU2S7inxUSx2xClzMK3mRbZ+ZaC460AP/owK5ShCg3A+k+KbDD7tsYrS91Yo8qguA59+kbR42dJ1hYOhbAZxWhTpIsy2u3fIvAgMBAAECgYEAiZn5pnWZDOLWeYCMdNiNHz85ngyFO6rDKRjjaxaXVzF6bBb4tFUKgONotuxZRVrrk7md4F/vD52yAJ2gYiN/3q6ThIKPI1YzzV1rP7YLZM/5gU+unD6AIKDSuHVIM3+ffKyE+G73JRzjAGijVoWuMGddH/sMfDvaCGMg2eB+OlkCQQD9bIZ1xtM0kHOb1fAYv1D8HCl0Xho9nPjCQ2D7VnrHyuypsaRKp08d1v43RtS2HVMJIveO9T3SmAzoJmLHm6q9AkEA1erBA6KG4/Wu8BVxa+XePw6J6QMkrPURplzMrzLg7cVjmjFk82n1gIonqTS+a0Qw/B5S8691rPcmHstwP23VWwJBANKmAcImSWq444/WLaO0axGUKxUSH0e1kcSQEy33vUkTMNMA2OpA1e+cxGSYGLlj+KBwk0weJ4xEXP4e4h6/ExUCQAD/sZsEvUB/OyvfzcHFNv5wYPB3lUpBcq2mLUZ8JFS34TktFd2VFxJcksbVejYiAWCL+7MrlI8UMFdgd8u0BZUCQFcLMSozqiLVv2/c5ni1cb8GQE4MJZnUEqwaTOU6ZjW7VGXb7zP65Rh5zCP1mnGg8NaHx5m3L05w8dQV4smql4A=";

    // 利得的公钥，无需修改该值 test
    // public static String leadbank_public_key =
    // "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDTw7AlUJ4LoCYRIH3v+rjBpQ0VKtb16Bps/SjfQWCxm966z1d1DGs1cqGLDvzj6M0avYdDzXnVHlNku4p8VEsdsQpczCt5kW2fmWguOtAD/6MCuUoQoNwPpPimww+7bGK0vdWKPKoLgOffpG0eNnSdYWDoWwGcVoU6SLMtrt3yLwIDAQAB";

    // 利得密钥，用于对称加密 test
    // public static String leadbank_3des_key =
    // "+8d12stY5qsplIXVripJrbkI4BZRkVTl";
    /***********test end*********/
    /***********dev begin*********/
    // 商户的私钥(rsa_private_pkcs8.pem) 生产环境
    public static String private_key = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAPniL2pljDqBoMzx2jis8aYN0gutvLkAKRTsDXiZtIpODiqeQXcr8xLFQDYzdBE8JtBU3pH44O3I2v2PCqH/Mc9sF9oC963WFA2/qZyurVMdu34tG9o4iBgJmyXe+xsbchcYdfKuqZYPYskwOWzDoJ0le+0U5nsYlg4wHncdsP+fAgMBAAECgYAFWHtfMVDwp3lDKSFb+QcqYD1QFqVk58X5NpuLKu6bztOqwbvwyrXmfuXCwxMGk1zZNBeW09YsABH/PqIhmQ39sSX37s3fJHQkJJF+PmXNXsJUuPDFdWADrK0GppXLNuaJ/QETzXCf3xwk1qETQ7WEmfrBeVQg4RDYHfVUGldWgQJBAP3XuLomk+32ibFwBT5p+E10bfuQg6Q6Q3NdJZOnbOF3gN5vKtTfWAidUvrTIYTaNDl73WLdRZXZZ70xUW7cAX8CQQD8AdmQy6IQatPnN0CK6ezJwjpS3od9BygXBvrjKnNNvohuyOpzF8nxllyBAp2isecBTHyB5zVK6bfU5jKGZdHhAkEAocZktUY2ytZvZIT24pMYqwxDt6qfKv/y0sgPVa3DJ2JI3/nLO0Vnzn2tT6tU1l1WITh+nC5W1axrf9i5hER0MwJATTl35WIxeJxz8S/CTI9gq3ckjk548Hxn8Z6G9WQFz3YqsuBI0BojHTA5iqM1kSy5IHHC2b/zWdCDL++W3g6HoQJBAO7j+FyYx9E5uKb6AXGYKFcKv74cmhjtdqFUAoxZdVHBjsCYpOQi3bz3d4b+9e3oJqRa6tEAM3DvVdLt+090tJ4=";

    // 利得的公钥，(生产环境)
    public static String leadbank_public_key = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDz3+GFdrml8oMy1jSPBtMK9Ide+n9X0smTbL9INvciITYEhpskrinADptMwu+1wAOniov9zV2kj5tdOowWVZ9B1jxunkwoIoMatJ1kcbHgmScuYOdS32LZ4oOhkDiTmbyJh7idmKZYUj/f/WTDhMh47ngrOyhpmwhtv73q4zfXDwIDAQAB";

    // 利得密钥，用于对称加密 (生产环境)
    public static String leadbank_3des_key = "pwvCbvHpWHDmFTFn48GDBJRAAg3VQ09X";
    /***********dev end*********/

    // 调试用，创建TXT日志文件夹路径
    public static String log_path = "/home/leadbank/logs/";

    // 字符编码格式 目前支持 gbk 或 utf-8
    public static String input_charset = "utf-8";

    // 签名方式 不需修改
    public static String sign_type = "RSA";

    // 授权码类型
    public static String authorize_response_type = "CODE";

    // 请求地址
    // public static String url =
    // "https://testopen.leadfund.com.cn/OpenAPI.do";// 测试环境地址
    // 请求地址
    public static String url = "https://open.leadfund.com.cn/OpenAPI.do";// 生产环境地址

    /*----------相关回调地址begin---------*/
    public static String openAccReturn_url = "http://leaveswebapi.caihang.com/fundReturnApi/returnReq";
    /*----------相关回调地址end-----------*/
    /***********test begin*********/
    // 获取授权码请求地址
    public static String leadbank_authorize_url = "http://testmerchm.leadfund.com.cn/authorize.do";
    // 利得认证地址
    public static String leadbank_access_token_url = "http://testmerchm.leadfund.com.cn/access_token.do";
    // 认证成功跳转地址
    public static String leadbank_auth_success_redirect_url = "http://testmerchm.leadfund.com.cn/";
    // 认证失败跳转地址
    public static String leadbank_auth_fail_redirect_url = "http://testmerchm.leadfund.com.cn/error";
    /***********test end*********/

    /***********prod begin*********/
    /**
    // 获取授权码请求地址
    public static String leadbank_authorize_url             = "https://merchm.leadfund.com.cn/authorize.do";
    // 利得认证地址
    public static String leadbank_access_token_url          = "https://merchm.leadfund.com.cn/access_token.do";
    // 认证成功跳转地址
    public static String leadbank_auth_success_redirect_url = "https://merchm.leadfund.com.cn/";
    // 认证失败跳转地址
    public static String leadbank_auth_fail_redirect_url    = "https://merchm.leadfund.com.cn/error";
    */
    /***********prod end*********/

    /***********pre begin*********/
    /**
    // 获取授权码请求地址
    public static String leadbank_authorize_url             = "https://premerchm.leadfund.com.cn/authorize.do";
    // 利得认证地址
    public static String leadbank_access_token_url          = "https://premerchm.leadfund.com.cn/access_token.do";
    // 认证成功跳转地址
    public static String leadbank_auth_success_redirect_url = "https://premerchm.leadfund.com.cn/";
    // 认证失败跳转地址
    public static String leadbank_auth_fail_redirect_url    = "https://premerchm.leadfund.com.cn/error";
    */
    /***********pre end*********/

    /***********dev begin*********/
    /**
    // 获取授权码请求地址
    public static String leadbank_authorize_url             = "http://10.1.1.25:8092/fdgs/authorize";
    // 利得认证地址
    public static String leadbank_access_token_url          = "http://10.1.1.25:8092/fdgs/access_token";
    // 认证成功跳转地址
    public static String leadbank_auth_success_redirect_url = "http://10.1.1.25:8092/";
    // 认证失败跳转地址
    public static String leadbank_auth_fail_redirect_url    = "http://10.1.1.25:8092/error";
    */
    /***********dev end*********/

}
